home *** CD-ROM | disk | FTP | other *** search
/ Aminet 32 / Aminet 32 (1999)(Schatztruhe)[!][Aug 1999].iso / Aminet / dev / lang / Python152_Src.lha / Python152_Source / Objects / protos / bufferobject.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-04-25  |  1.3 KB  |  19 lines

  1. static PyObject *_PyBuffer_FromMemory ( PyObject *base , void *ptr , int size , int readonly );
  2. static PyObject *_PyBuffer_FromObject ( PyObject *base , int offset , int size , getreadbufferproc proc , int readonly );
  3. static void buffer_dealloc ( PyBufferObject *self );
  4. static int buffer_compare ( PyBufferObject *self , PyBufferObject *other );
  5. static PyObject *buffer_repr ( PyBufferObject *self );
  6. static long buffer_hash ( PyBufferObject *self );
  7. static PyObject *buffer_str ( PyBufferObject *self );
  8. static int buffer_length ( PyBufferObject *self );
  9. static PyObject *buffer_concat ( PyBufferObject *self , PyObject *other );
  10. static PyObject *buffer_repeat ( PyBufferObject *self , int count );
  11. static PyObject *buffer_item ( PyBufferObject *self , int idx );
  12. static PyObject *buffer_slice ( PyBufferObject *self , int left , int right );
  13. static int buffer_ass_item ( PyBufferObject *self , int idx , PyObject *other );
  14. static int buffer_ass_slice ( PyBufferObject *self , int left , int right , PyObject *other );
  15. static int buffer_getreadbuf ( PyBufferObject *self , int idx , void **pp );
  16. static int buffer_getwritebuf ( PyBufferObject *self , int idx , void **pp );
  17. static int buffer_getsegcount ( PyBufferObject *self , int *lenp );
  18. static int buffer_getcharbuf ( PyBufferObject *self , int idx , const char **pp );
  19.